package com.company.project;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

/**
 * DubboProviderApplication
 * 服务提供启动类
 * @author xiaofeng
 * @date 2019/1/19
 */
@EnableDubbo
@SpringBootApplication
@MapperScan("com.company.project.modular.system.dao")
@ImportResource("classpath:provider.xml")
public class DubboProviderApplication {

    public static void main(String[] args) {
        SpringApplication.run(DubboProviderApplication.class, args);
    }
}
